Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing SSL version to Perl SSL.pm default values #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

watter
Copy link

@watter watter commented Jul 9, 2020

As SSL evolves using TLSv1 were forbidden on many servers because of security
issues.

Some people exchanged workarounds at
https://unix.stackexchange.com/questions/53065/invalid-ssl-version-specified-at-usr-share-perl5-io-socket-ssl-pm-line-332

This change uses SSL options used by Perl 5 at
/usr/share/perl5/IO/Socket/SSL.pm:133 (below) and worked fine.


SSL_version => 'SSLv23:!SSLv3:!SSLv2', # consider both SSL3.0 and SSL2.0 as broken

As SSL evolves using TLSv1 were forbidden on many servers because of security
issues.

Some people exchanged workarounds at
https://unix.stackexchange.com/questions/53065/invalid-ssl-version-specified-at-usr-share-perl5-io-socket-ssl-pm-line-332

This change uses SSL options used by Perl 5 at
 /usr/share/perl5/IO/Socket/SSL.pm:133 (below) and worked fine.

--------------------------------------------------------------------------------
 SSL_version => 'SSLv23:!SSLv3:!SSLv2', # consider both SSL3.0 and SSL2.0 as broken
--------------------------------------------------------------------------------
@ranbir7
Copy link

ranbir7 commented Jul 28, 2023

so it solves the hostName verification issue right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants